<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />
	
	<link type="image/x-icon" href="<?php echo Yii::app()->baseUrl; ?>/images/icon.ico" rel="shortcut icon" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/bootstrap-responsive.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/jquery.ui.core.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/jquery.ui.datepicker.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/jquery.ui.theme.css" />
	
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/admin/views/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/admin/views/css/form.css" />

	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl?>/js/jquery.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl?>/js/jquery-ui.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl?>/js/bootstrap.min.js"></script>
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<?php
	$cs = Yii::app()->clientScript;
  $cs->scriptMap = array(
  	'jquery.js' => false,
    'jquery.min.js' => false,
  	'jquery-ui.js' => false,
  	'jquery-ui.min.js' => false,
  ); 
	?>
	<script type="text/javascript">
	var baseUrl = '<?php echo Yii::app()->request->baseUrl; ?>';
	$(function() {
		$(".tip").tooltip();
	});
	</script>
</head>

<body>
<div id="wrapper">
	<div class="sun"></div>
	<div class="container" id="page">
	
		<?php $this->widget('widget_header')?>
	 
	  <?php $this->widget('widget_menu')?>	
	  
		<?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
		)); ?><!-- breadcrumbs -->
	  <?php endif?>
		<div id="content" class="row-fluid">
    	<div class="span12" id="content-left">
    	<?php echo $content?>
    	</div>
		</div>
	
		<div class="clear"></div>
	
		<?php $this->widget('widget_footer')?>
	
	</div><!-- page -->
</div>
<div id="grass"></div>
</body>
</html>
